package com.glela.company.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.glela.company.mapper.CompanyXzMapper;
import com.glela.company.model.CompanyXz;
import com.glela.company.model.vo.CompanyXzVo;
import com.glela.company.service.CompanyService;

/**
 *@author liujie
 *@2016年12月14日
 */
@Service("companyService")
public class CompanyServiceImpl implements CompanyService{

	@Autowired
	private CompanyXzMapper companyXzMapper;

	@Override
	public CompanyXzVo selectByBranchId(String branchId) {
		return companyXzMapper.selectByBranchId(branchId);
	}

	@Override
	public CompanyXzVo selectBycompany_Id(int companyId) {
		return companyXzMapper.selectByPrimaryKey(companyId);
	}
}